<ul id="main-nav">  
<!--    <li>-->
<!--        <a href="{{$APP_BASE_URL}}" class="nav-top-item no-submenu {{if $menu[0]=='controlpanel'}}current{{/if}}">-->
<!--            Control Panel-->
<!--        </a>       -->
<!--    </li>-->
    
     
    
     
    
    
<!--    <li> -->
<!--        <a href="#" class="nav-top-item {{if $menu[0]=='product'}}current{{/if}}">-->
<!--        Sản phẩm-->
<!--        </a>-->
<!--        <ul>-->
<!--            {{p name='new_product' module='product'  expandId='?'}}<li><a href="{{$APP_BASE_URL}}product/admin/new-product" class="{{if $menu[1]=='newproduct'}}current{{/if}}">Tạo sản phẩm mới</a></li>{{/p}}-->
<!--            {{p name='see_product' module='product'  expandId='?'}}<li><a href="{{$APP_BASE_URL}}product/admin/manage-product" class="{{if $menu[1]=='manageproduct'}}current{{/if}}">Quản lý sản phẩm</a></li>{{/p}}-->
<!--            -->
<!--        </ul>-->
<!--    </li>-->
    
    {{p name='new_product' module='product'}}
     <li> 
     <a href="{{$APP_BASE_URL}}product/admin/new-product" class="nav-top-item no-submenu{{if $menu[1]=='newproduct'}}current{{/if}}">Tạo sản phẩm mới</a>
        </li>
    
   
    {{/p}}
    
     {{p name='see_product' module='product'}}
     <li> 
     <a href="{{$APP_BASE_URL}}product/admin/manage-product" class="nav-top-item no-submenu{{if $menu[1]=='manageproduct'}}current{{/if}}">Quản lý sản phẩm</a>
        </li>
    
   
    {{/p}}
    
    {{p name='see_product' module='product'}}
     <li> 
     <a href="{{$APP_BASE_URL}}product/admin/search-product" class="nav-top-item no-submenu{{if $menu[1]=='searchproduct'}}current{{/if}}">Thống kê giao dịch</a>
        </li>
    
   
    {{/p}}
    
    {{p name='see_user' module='user'}}
     <li> 
            <a href="{{$APP_BASE_URL}}user/admin/edit-user/id/{{$loggedUser.user_id}}" class="nav-top-item no-submenu {{if $menu[0]=='usergroup'}}current{{/if}}">Tài khoản</a>
        </li>
    
   
    {{/p}}
    
    
</ul> 